@import './variable.less';

.login {
    .container {
        background-image: url(../images/login-bg.jpg);
        background-repeat: no-repeat;
        background-size: cover;
    }

    .w {
        height: calc(100vh - 160px);
    }

    .user-box {
        width: 500px;
        margin: 0 auto;
        padding: 100px;
    }

    .tabs-top {
        width: 100%;
        background-color: #f5f7fa;
        height: 50px;
        display: flex;
        text-align: center;
        line-height: 50px;
        font-size: 18px;
        border: 1px solid #ccc;
        border-bottom: none;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
        overflow: hidden;

        span {
            font-size: 26px;
            flex: 1;
            border-bottom: 1px solid #ccc;

            &:first-child {
                border-right: 1px solid #ccc;
            }

            &.active {
                background-color: #fff;
                border-bottom: none;
            }
        }
    }

    .tabs-con {
        width: calc(100% - 60px);
        background-color: #fff;
        border: 1px solid #ccc;
        border-top: none;
        padding: 10px 30px;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;

        span.tips {
            color: red;
            font-size: 12px;
            float: left;
        }
    }

    /deep/ .el-input__icon {
        font-size: 20px;
        line-height: 50px;
    }

    /deep/ .el-input__inner {
        height: 50px;
        line-height: 50px;
        font-size: 20px;
    }

    /deep/ .el-button--primary {
        background-color: @theme;
        border-color: @theme;
    }

    /deep/ .el-button--primary.is-disabled {
        background-color: #00b16ab0;
        border-color: #00b16ab0;
    }

    /deep/ .el-button--success {
        background-color: @theme;
        border-color: @theme;
    }

    .el-button--success:focus {
        pointer-events: none;
    }

    /deep/ .el-button--success:hover {
        background-color: #00b16ab0;
        border-color: #00b16ab0;
    }

    /deep/ .el-input__inner:focus {
        border-color: @theme;
    }

    .email-phone {
        margin-top: 20px;
        margin-bottom: 30px;
        position: relative;

        .btn-code {
            position: absolute;
            top: 4px;
            right: 5px;
        }

        .email_inner {
            input {
                padding-right: 120px;
            }
        }
    }

    .password-code {
        margin-bottom: 30px;
    }



    .btn {
        width: 100%;
        height: 50px;
        margin-top: 20px;
    }

    .links {
        margin-bottom: 10px;
        /deep/ .el-link.el-link--primary {
            color: @theme;
        }

        /deep/ .el-link.el-link--primary:hover::after {
            border-color: @theme;
        }
    }
    .el-dialog{
        border-radius: 6px;
        .btns{
            text-align: center;
        }
    }
}